/**
 * 
 */
package com.leruan.aasimp.service;

import java.util.List;
import java.util.Map;

import com.leruan.aasimp.bean.UsedCarBuyMainBean;
import com.leruan.aasimp.entity.CarBedding;
import com.leruan.aasimp.entity.CarInsurance;

/**
 * @author snow
 *
 */
public interface InsuranceService {
	List<CarInsurance> findall();

	void addTc(CarInsurance carInsurance);

	CarInsurance findById(long l);

	void update(CarInsurance carInsurance);

	void delete(CarInsurance carInsurance);

	Long getTotal(Map<String, String> map);

	List<CarInsurance> getByList(Map<String, String> map, int pageNo);

	CarInsurance findByUserId(long parseLong);

	CarInsurance findBy(String id, String parseLong);
}
